<?php echo $header;//装载header?>
<?php echo $top;//装载top?>
<!-- /subnavbar -->
<div class="container">
  <div class="row">
    <div class="col-md-6 middle-flat-left" role="main">
      <div class="panel panel-default">
        <h3 class="panel-heading row row-panel-heading bg-info"> <i class="glyphicon glyphicon-tags"></i>&nbsp;Today's Stats</h3>
        <!-- /widget-header -->
            <div class="panel-body">
            A fully responsive premium quality admin template built on Twitter Bootstrap.  These are some dummy lines to fill the area.
              <div id="big_stats" class="cf">
                <div class="stat"> <i class="glyphicon glyphicon-grain"></i> <span class="value">851</span> </div>
                <!-- .stat -->
                
                <div class="stat"> <i class="glyphicon glyphicon-shopping-cart"></i> <span class="value">423</span> </div>
                <!-- .stat -->
                
                <div class="stat"> <i class="glyphicon glyphicon-star-empty"></i> <span class="value">922</span> </div>
                <!-- .stat -->
                
                <div class="stat"> <i class="glyphicon glyphicon-eye-open"></i> <span class="value">25%</span> </div>
                <!-- .stat --> 
              </div>
            </div>
            <!-- /widget-content --> 
      </div>
      <!-- /widget -->
      <div class="panel panel-default">
        <h3 class="panel-heading row row-panel-heading bg-info"> <i class="glyphicon glyphicon-calendar"></i>&nbsp;Recent News</h3>
        <!-- /widget-header -->
        <div class="panel-body">
          <div id='calendar'>
          </div>
        </div>
        <!-- /widget-content --> 
      </div>
      <!-- /widget -->
      <div class="panel panel-default">
        <h3 class="panel-heading row row-panel-heading bg-info"> <i class="glyphicon glyphicon-file"></i>&nbsp;Content</h3>
        <!-- /widget-header -->
        <div class="panel-body">
          <ul class="messages_layout">
            <li class="from_user left"> <a href="#" class="avatar"><img src="public/resources/default/image/message_avatar1.png"/></a>
              <div class="message_wrap"> <span class="arrow"></span>
                <div class="info"> <a class="name">John Smith</a> <span class="time">1 hour ago</span>
                  <div class="options_arrow">
                    <div class="dropdown pull-right"> <a class="dropdown-toggle " id="dLabel" role="button" data-toggle="dropdown" data-target="#" href="#"> <i class=" caret"></i> </a>
                      <ul class="dropdown-menu " role="menu" aria-labelledby="dLabel">
                        <li><a href="#"><i class=" glyphicon glyphicon-home"></i> Reply</a></li>
                        <li><a href="#"><i class=" glyphicon glyphicon-home"></i> Delete</a></li>
                        <li><a href="#"><i class=" glyphicon glyphicon-home"></i> Share</a></li>
                      </ul>
                    </div>
                  </div>
                </div>
                <div class="text"> As an interesting side note, as a head without a body, I envy the dead. There's one way and only one way to determine if an animal is intelligent. Dissect its brain! Man, I'm sore all over. I feel like I just went ten rounds with mighty Thor. </div>
              </div>
            </li>
            <li class="by_myself right"> <a href="#" class="avatar"><img src="public/resources/default/image/message_avatar2.png"/></a>
              <div class="message_wrap"> <span class="arrow"></span>
                <div class="info"> <a class="name">Bender (myself) </a> <span class="time">4 hours ago</span>
                  <div class="options_arrow">
                    <div class="dropdown pull-right"> <a class="dropdown-toggle " id="dLabel" role="button" data-toggle="dropdown" data-target="#" href="#"></a>
                      <ul class="dropdown-menu " role="menu" aria-labelledby="dLabel">
                        <li><a href="#"><i class=" glyphicon glyphicon-home"></i> Reply</a></li>
                        <li><a href="#"><i class=" glyphicon glyphicon-home"></i> Delete</a></li>
                        <li><a href="#"><i class=" glyphicon glyphicon-home"></i> Share</a></li>
                      </ul>
                    </div>
                  </div>
                </div>
                <div class="text"> All I want is to be a monkey of moderate intelligence who wears a suit… that's why I'm transferring to business school! I had more, but you go ahead. Man, I'm sore all over. I feel like I just went ten rounds with mighty Thor. File not found. </div>
              </div>
            </li>
            <li class="from_user left"> <a href="#" class="avatar"><img src="public/resources/default/image/message_avatar1.png"/></a>
              <div class="message_wrap"> <span class="arrow"></span>
                <div class="info"> <a class="name">Celeste Holm </a> <span class="time">1 Day ago</span>
                  <div class="options_arrow">
                    <div class="dropdown pull-right"> <a class="dropdown-toggle " id="dLabel" role="button" data-toggle="dropdown" data-target="#" href="#"> <i class=" caret"></i> </a>
                      <ul class="dropdown-menu " role="menu" aria-labelledby="dLabel">
                        <li><a href="#"><i class=" glyphicon glyphicon-home"></i> Reply</a></li>
                        <li><a href="#"><i class=" glyphicon glyphicon-home"></i> Delete</a></li>
                        <li><a href="#"><i class=" glyphicon glyphicon-home"></i> Share</a></li>
                      </ul>
                    </div>
                  </div>
                </div>
                <div class="text"> And I'd do it again! And perhaps a third time! But that would be it. Are you crazy? I can't swallow that. And I'm his friend Jesus. No, I'm Santa Claus! And from now on you're all named Bender Jr. </div>
              </div>
            </li>
            <li class="from_user left"> <a href="#" class="avatar"><img src="public/resources/default/image/message_avatar2.png"/></a>
              <div class="message_wrap"> <span class="arrow"></span>
                <div class="info"> <a class="name">Mark Jobs </a> <span class="time">2 Days ago</span>
                  <div class="options_arrow">
                    <div class="dropdown pull-right"> <a class="dropdown-toggle " id="dLabel" role="button" data-toggle="dropdown" data-target="#" href="#"></a>
                      <ul class="dropdown-menu " role="menu" aria-labelledby="dLabel">
                        <li><a href="#"><i class=" glyphicon glyphicon-home"></i> Reply</a></li>
                        <li><a href="#"><i class=" glyphicon glyphicon-home"></i> Delete</a></li>
                        <li><a href="#"><i class=" glyphicon glyphicon-home"></i> Share</a></li>
                      </ul>
                    </div>
                  </div>
                </div>
                <div class="text"> That's the ONLY thing about being a slave. Now, now. Perfectly symmetrical violence never solved anything. Uh, is the puppy mechanical in any way? As an interesting side note, as a head without a body, I envy the dead. </div>
              </div>
            </li>
          </ul>
        </div>
        <!-- /widget-content --> 
      </div>
      <!-- /widget --> 
    </div>
    <!-- /span6 -->
    <div class="col-md-6 middle-flat-left" role="main">
      <div class="panel panel-default">
        <h3 class="panel-heading row row-panel-heading bg-info"> <i class="glyphicon glyphicon-bookmark"></i>&nbsp;Important Shortcuts</h3>
        <!-- /widget-header -->
        <div class="panel-body">
          <div class="shortcuts"> <a href="javascript:;" class="shortcut"><h1 class="glyphicon glyphicon-phone"></h1><span
                                    class="shortcut-label">Apps</span> </a><a href="javascript:;" class="shortcut"><h1
                                        class="glyphicon glyphicon-bookmark"></h1><span class="shortcut-label">Bookmarks</span> </a><a href="javascript:;" class="shortcut"><h1 class="glyphicon glyphicon-stats"></h1> <span class="shortcut-label">Reports</span> </a><a href="javascript:;" class="shortcut"> <h1 class="glyphicon glyphicon-bell"></h1><span class="shortcut-label">Comments</span> </a><a href="javascript:;" class="shortcut"><h1 class="glyphicon glyphicon-user"></h1><span
                                            class="shortcut-label">Users</span> </a><a href="javascript:;" class="shortcut"><h1
                                                class="glyphicon glyphicon-file"></h1><span class="shortcut-label">Notes</span> </a><a href="javascript:;" class="shortcut"><h1 class="glyphicon glyphicon-picture"></h1> <span class="shortcut-label">Photos</span> </a><a href="javascript:;" class="shortcut"> <h1 class="glyphicon glyphicon-tag"></h1><span class="shortcut-label">Tags</span> </a> </div>
          <!-- /shortcuts --> 
        </div>
        <!-- /widget-content --> 
      </div>
      <!-- /widget -->
      <div class="panel panel-default">
        <h3 class="panel-heading row row-panel-heading bg-info"> <i class="glyphicon glyphicon-signal"></i>&nbsp;Area Chart Example</h3>
        <!-- /widget-header -->
        <div class="panel-body">
          <canvas id="area-chart" class="chart-holder" height="250" width="538"> </canvas>
          <!-- /area-chart --> 
        </div>
        <!-- /widget-content --> 
      </div>
      <!-- /widget -->
      <div class="panel panel-default">
        <h3 class="panel-heading row row-panel-heading bg-info"> <i class="glyphicon glyphicon-th-list"></i>&nbsp;A Table Example</h3>
        <!-- /widget-header -->
        <div class="panel-body">
          <table class="table">
            <thead>
              <tr>
                <th> Free Resource </th>
                <th> Download</th>
                <th> </th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td> Fresh Web Development Resources </td>
                <td> http://www.cssmoban.com/ </td>
                <td class="td-actions"><a href="javascript:;" class="btn btn-small btn-success"><i class="glyphicon glyphicon-ok"> </i></a><a href="javascript:;" class="btn btn-danger btn-small"><i class="glyphicon glyphicon-remove"> </i></a></td>
              </tr>
              <tr>
                <td> Fresh Web Development Resources </td>
                <td> http://www.cssmoban.com/ </td>
                <td class="td-actions"><a href="javascript:;" class="btn btn-small btn-success"><i class="glyphicon glyphicon-ok"> </i></a><a href="javascript:;" class="btn btn-danger btn-small"><i class="glyphicon glyphicon-remove"> </i></a></td>
              </tr>
              <tr>
                <td> Fresh Web Development Resources </td>
                <td> http://www.cssmoban.com/ </td>
                <td class="td-actions"><a href="javascript:;" class="btn btn-small btn-success"><i class="glyphicon glyphicon-ok"> </i></a><a href="javascript:;" class="btn btn-danger btn-small"><i class="glyphicon glyphicon-remove"> </i></a></td>
              </tr>
              <tr>
                <td> Fresh Web Development Resources </td>
                <td> http://www.cssmoban.com/ </td>
                <td class="td-actions"><a href="javascript:;" class="btn btn-small btn-success"><i class="glyphicon glyphicon-ok"> </i></a><a href="javascript:;" class="btn btn-danger btn-small"><i class="glyphicon glyphicon-remove"> </i></a></td>
              </tr>
              <tr>
                <td> Fresh Web Development Resources </td>
                <td> http://www.cssmoban.com/ </td>
                <td class="td-actions"><a href="javascript:;" class="btn btn-small btn-success"><i class="glyphicon glyphicon-ok"> </i></a><a href="javascript:;" class="btn btn-danger btn-small"><i class="glyphicon glyphicon-remove"> </i></a></td>
              </tr>
            
            </tbody>
          </table>
        </div>
        <!-- /widget-content --> 
      </div>
      <!-- /widget --> 
      <div class="panel panel-default">
        <h3 class="panel-heading row row-panel-heading bg-info"> <i class="glyphicon glyphicon-list-alt"></i>&nbsp;Recent News</h3>
        <!-- /widget-header -->
        <div class="panel-body">
          <ul class="news-items">
            <li>
              
              <div class="news-item-date"> <span class="news-item-day">29</span> <span class="news-item-month">Aug</span> </div>
              <div class="news-item-detail"> <a href="http://www.cssmoban.com/thursday-roundup-40/" class="news-item-title" target="_blank">Thursday Roundup # 40</a>
                <p class="news-item-preview"> This is our web design and development news series where we share our favorite design/development related articles, resources, tutorials and awesome freebies. </p>
              </div>
              
            </li>
            <li>
              
              <div class="news-item-date"> <span class="news-item-day">15</span> <span class="news-item-month">Jun</span> </div>
              <div class="news-item-detail"> <a href="http://www.cssmoban.com/retina-ready-responsive-app-landing-page-website-template-app-landing/" class="news-item-title" target="_blank">Retina Ready Responsive App Landing Page Website Template – App Landing</a>
                <p class="news-item-preview"> App Landing is a retina ready responsive app landing page website template perfect for software and application developers and small business owners looking to promote their iPhone, iPad, Android Apps and software products.</p>
              </div>
              
            </li>
            <li>
              
              <div class="news-item-date"> <span class="news-item-day">29</span> <span class="news-item-month">Oct</span> </div>
              <div class="news-item-detail"> <a href="http://www.cssmoban.com/open-source-jquery-php-ajax-contact-form-templates-with-captcha-formify/" class="news-item-title" target="_blank">Open Source jQuery PHP Ajax Contact Form Templates With Captcha: Formify</a>
                <p class="news-item-preview"> Formify is a contribution to lessen the pain of creating contact forms. The collection contains six different forms that are commonly used. These open source contact forms can be customized as well to suit the need for your website/application.</p>
              </div>
              
            </li>
          </ul>
        </div>
        <!-- /widget-content --> 
      </div>
      <!-- /widget -->
    </div>
    <!-- /span6 --> 
  </div>
  <!-- /row --> 
</div>
<!-- /container -->
<?php echo $footer;//装载header?>
<script>     
        var lineChartData = {
            labels: ["January", "February", "March", "April", "May", "June", "July"],
            datasets: [
				{
				    fillColor: "rgba(220,220,220,0.5)",
				    strokeColor: "rgba(220,220,220,1)",
				    pointColor: "rgba(220,220,220,1)",
				    pointStrokeColor: "#fff",
				    data: [65, 59, 90, 81, 56, 55, 40]
				},
				{
				    fillColor: "rgba(151,187,205,0.5)",
				    strokeColor: "rgba(151,187,205,1)",
				    pointColor: "rgba(151,187,205,1)",
				    pointStrokeColor: "#fff",
				    data: [28, 48, 40, 19, 96, 27, 100]
				}
			]

        }

        var myLine = new Chart(document.getElementById("area-chart").getContext("2d")).Line(lineChartData);


        var barChartData = {
            labels: ["January", "February", "March", "April", "May", "June", "July"],
            datasets: [
				{
				    fillColor: "rgba(220,220,220,0.5)",
				    strokeColor: "rgba(220,220,220,1)",
				    data: [65, 59, 90, 81, 56, 55, 40]
				},
				{
				    fillColor: "rgba(151,187,205,0.5)",
				    strokeColor: "rgba(151,187,205,1)",
				    data: [28, 48, 40, 19, 96, 27, 100]
				}
			]

        }    

        $(document).ready(function() {
        var date = new Date();
        var d = date.getDate();
        var m = date.getMonth();
        var y = date.getFullYear();
        var calendar = $('#calendar').fullCalendar({
          header: {
            left: 'prev,next today',
            center: 'title',
            right: 'month,agendaWeek,agendaDay'
          },
          selectable: true,
          selectHelper: true,
          select: function(start, end, allDay) {
            var title = prompt('Event Title:');
            if (title) {
              calendar.fullCalendar('renderEvent',
                {
                  title: title,
                  start: start,
                  end: end,
                  allDay: allDay
                },
                true // make the event "stick"
              );
            }
            calendar.fullCalendar('unselect');
          },
          editable: true,
          events: [
            {
              title: 'All Day Event',
              start: new Date(y, m, 1)
            },
            {
              title: 'Long Event',
              start: new Date(y, m, d+5),
              end: new Date(y, m, d+7)
            },
            {
              id: 999,
              title: 'Repeating Event',
              start: new Date(y, m, d-3, 16, 0),
              allDay: false
            },
            {
              id: 999,
              title: 'Repeating Event',
              start: new Date(y, m, d+4, 16, 0),
              allDay: false
            },
            {
              title: 'Meeting',
              start: new Date(y, m, d, 10, 30),
              allDay: false
            },
            {
              title: 'Lunch',
              start: new Date(y, m, d, 12, 0),
              end: new Date(y, m, d, 14, 0),
              allDay: false
            },
            {
              title: 'Birthday Party',
              start: new Date(y, m, d+1, 19, 0),
              end: new Date(y, m, d+1, 22, 30),
              allDay: false
            },
            {
              title: 'EGrappler.com',
              start: new Date(y, m, 28),
              end: new Date(y, m, 29),
              url: 'http://EGrappler.com/'
            }
          ]
        });
      });
    </script><!-- /Calendar -->
</body>
</html>